import axios from '../../axios.js';

const register = {
    isAccess: function (account) {
        return axios({
            url: '/users/isAccess',
            method: "post",
            data:{account}
        })
    },
    register: function (lessors) {
        return axios({
            url: '/users/register',
            method: "post",
            data:{lessors}
        })
    },
}
export default register;